package com.face.pass.active.utils;

import java.time.LocalDate;
import java.time.ZoneId;
import java.util.Date;

public class DateUtils {
	static ZoneId zone = ZoneId.systemDefault();
	public static Date localDate2Date(LocalDate localDate) {
		if(localDate == null) {
			return null;
		}
		return Date.from(localDate.atStartOfDay().atZone(zone).toInstant());
	}
}
